#  Boost.Assert Library test Jamfile
#
#  Copyright (c) 2014, 2017, 2019 Peter Dimov
#
#  Distributed under the Boost Software License, Version 1.0.
#  See accompanying file LICENSE_1_0.txt or copy at
#  http://www.boost.org/LICENSE_1_0.txt

import testing ;

project : requirements
  <warnings>extra
  <toolset>msvc:<warnings-as-errors>on
  <toolset>clang:<warnings-as-errors>on
  <toolset>gcc:<warnings-as-errors>on
  <toolset>gcc:<cxxflags>-Wshadow
  <toolset>gcc-4.4.7:<cxxflags>-Wno-sign-compare
  <toolset>gcc-4.4:<cxxflags>-Wno-sign-compare
;

run assert_test.cpp ;
run current_function_test.cpp
  : : : <test-info>always_show_run_output ;
run verify_test.cpp ;
run assert_is_void_test.cpp ;

# expansion tests are in exp/ so that there is a backslash in the path on Windows
run exp/assert_exp_test.cpp ;
run exp/assert_msg_exp_test.cpp ;
run exp/verify_exp_test.cpp ;
run exp/verify_msg_exp_test.cpp ;
run assert_test2.cpp ;
run assert_msg_test2.cpp ;

# quick test (for CI)
run quick.cpp ;

run current_function_test2.cpp ;

run source_location_test.cpp ;
run source_location_test2.cpp ;
run source_location_test3.cpp ;
run source_location_test4.cpp ;
run source_location_test5.cpp ;
